Server Watch Plugin SDK | Date: 6 Feb 2004 Release: 1.0 |
00001 /* 00002 swplugindll.h 00003 Copyright (c) 2000-2004, Deep Fried Software. All rights reserved. 00004 */ 00005 00006 #ifndef _SWPLUGINDLL_H 00007 #define _SWPLUGINDLL_H 00008 00009 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00010 00011 extern HINSTANCE g_hDll; 00012 extern void OnProcessAttached(HINSTANCE g_hDll); 00013 extern void OnProcessDetached(); 00014 extern HWND GetParentHWND(); 00015 00016 #endif //DOXYGEN_SHOULD_SKIP_THIS 00017 00018 struct SWPluginServerStruct; 00019 class ISWPluginMenu; 00020 00323 SWRESULT LoadPlugin(); 00333 SWRESULT UnloadPlugin(); 00335 00345 00350 enum FunctionalSwitch 00351 { 00352 AUX_STAT, 00353 00354 PORT_DISABLED, 00355 PORT_HIDDEN, 00356 BUDDIES, 00357 JOIN, 00358 ADDRESS_DISABLED 00359 }; 00360 00372 bool DoYouSupport(const FunctionalSwitch eType); 00374 00397 SWRESULT InitServer(SWPluginServerStruct* pThisServer); 00412 SWRESULT CleanupServer(SWPluginServerStruct* pThisServer); 00414 00437 SWRESULT Ping(SWPluginServerStruct* pThisServer); 00450 SWRESULT JoinServer(SWPluginServerStruct* pThisServer); 00452 00472 SWRESULT CreateMenu(SWPluginServerStruct* pThisServer, 00473 ISWPluginMenu* pPluginMenu); 00475 #endif // _SWPLUGINDLL_H
Copyright (c) 2003-2004, Deep Fried Software. All rights reserved. |